{% extends "base.html" %}

{% block contenido %}

<br><h2><span style="color:#80BFFF">Información del paquete:</span></h2></br>
<p><span style="color:#0B2161">Emisor: </span>{{paquete.id_sender.username}}</p>
<p><span style="color:#0B2161">Fecha de envío: </span>{{paquete.date}}</p>
<p><span style="color:#0B2161">Te dijeron: </span>{{paquete.comment}}</p>
<br> <a class="btn btn-success" id="link_descarga" href="{{ paquete.package.url }}">Descargar</a> <a class="btn btn-danger"href="{% url reject paquete.id %}">Rechazar</a></br>
<script>
	$("#link_descarga").click(function(){
		{{ paquete.package.delete }};
	}
</script>
{% endblock %}
